<template>
  <div class="goback" @click="goback">
    ＜
  </div>
</template>

<script setup>
const emit = defineEmits(['goback'])
const goback = () => {
  emit('goback')
}
</script>

<style scoped>
.goback {
  position: absolute;
  left: 0;
  top: 0;
  margin-left: 10px;
  margin-top: 10px;
  background-color: rgba(22, 24, 35, 0.6);
  width: 18px;
  height: 18px;
  padding: 6px;
  font-size: 18px;
  text-align: center;
  line-height: 18px;
  border-radius: 50%;
  z-index: 10;
  color: #fff;
}
</style>